<extend name="Index/index"/>

<block name="main">
<!-- Page Heading -->
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">
                个人信息
            </h1>
            <ol class="breadcrumb">
                <li>
                    <i class="fa fa-dashboard"></i>  <a href="<{:U('User/index')}>"> 用户列表 </a>
                </li>
                <li class="active">
                    <i class="fa fa-edit"></i> 个人信息
                    <i class="fa fa-edit"></i> <a href="<{:U(Auser/modifyPass)}>">修改密码</a>
                </li>
            </ol>
        </div>
    </div>
<!-- /.row -->
    <div class="row">
    <div class="col-md-8 col-md-offset-2">
        <form action="<{:U('Auser/modifyInfo')}>" class="form-horizontal" role="form" method="post">
            <input type="hidden" name="id" value="<?php echo $_SESSION['user']['id'] ?>">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" name="name" id="inputEmail3" value="<{$list.name}>" placeholder="Email">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">电话</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" maxlength="11" name="phone" id="inputPassword3" value="<{$list.phone}>">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">注册时间</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" name="addtime" id="inputPassword3" value="<{$list.addtime}>" disabled>
                </div>
            </div>
            

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-6">
                    <button type="submit" class="btn btn-warning btn-block">修改</button>
                </div>
            </div>
        </form>

    </div>
</div>


</block>
